<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>PHP 类型比较表</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="transports.unix.html">Unix 领域：Unix 和 UDG</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="tokens.html">解析器代号列表</a></div>
 <div class="up"><a href="appendices.html">附录</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="types.comparisons" class="appendix">
 <h1>PHP 类型比较表</h1>

 <p class="para">
  以下的表格显示了 PHP
  <a href="language.types.html" class="link">类型</a>和<a href="language.operators.comparison.html" class="link">比较运算符</a>在松散和严格比较时的作用。该补充材料还和<a href="language.types.type-juggling.html" class="link">类型戏法</a>的相关章节内容有关。同时，大量的用户注释和
  <a href="http://www.blueshoes.org/en/developer/php_cheat_sheet/" class="link external">&raquo;&nbsp;BlueShoes</a> 的工作也给该材料提供了帮助。
 </p>
 <p class="para">
  在使用这些表格之前，需要明白变量类型及它们的意义。例如，<em>&quot;42&quot;</em> 是一个<span class="type"><span class="type 字符串">字符串</span></span>而
  <em>42</em> 是一个<span class="type"><span class="type 整数">整数</span></span>。<strong><code>FALSE</code></strong> 是一个<span class="type"><span class="type 布尔">布尔</span></span>值而 <em>&quot;false&quot;</em>
  是一个<span class="type"><span class="type 字符串">字符串</span></span>。
 </p>
 <blockquote class="note"><p><strong class="note">Note</strong>: 
  <p class="para">
   HTML 表单并不传递整数、浮点数或者布尔值，它们只传递字符串。要想检测一个字符串是不是数字，可以使用
   <span class="function"><a href="function.is-numeric.html" class="function">is_numeric()</a></span> 函数。
  </p>
 </p></blockquote>
 <blockquote class="note"><p><strong class="note">Note</strong>: 
  <p class="para">
   在没有定义变量 <var class="varname"><var class="varname">$x</var></var> 的时候，诸如 <em>if ($x)</em> 的用法会导致一个
   <strong><code>E_NOTICE</code></strong> 级别的错误。所以，可以考虑用 <span class="function"><a href="function.empty.html" class="function">empty()</a></span> 或者
   <span class="function"><a href="function.isset.html" class="function">isset()</a></span> 函数来初始化变量。
  </p>
 </p></blockquote>
  <p class="para">
  <table class="doctable table">
   <caption><strong>使用 PHP 函数对变量 <var class="varname"><var class="varname">$x</var></var> 进行比较</strong></caption>
   
    <thead>
     <tr>
      <th>表达式</th>
      <th><span class="function"><a href="function.gettype.html" class="function">gettype()</a></span></th>
      <th><span class="function"><a href="function.empty.html" class="function">empty()</a></span></th>
      <th><span class="function"><a href="function.is-null.html" class="function">is_null()</a></span></th>
      <th><span class="function"><a href="function.isset.html" class="function">isset()</a></span></th>
      <th><span class="type"><a href="language.types.boolean.html" class="type boolean">boolean</a></span> : <em>if($x)</em></th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td><em>$x = &quot;&quot;;</em></td>
      <td><span class="type"><a href="language.types.string.html" class="type string">string</a></span></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>$x = null;</em></td>
      <td><span class="type"><a href="language.types.null.html" class="type NULL">NULL</a></span></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>var $x;</em></td>
      <td><span class="type"><a href="language.types.null.html" class="type NULL">NULL</a></span></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><var class="varname"><var class="varname">$x</var></var> is undefined</td>
      <td><span class="type"><a href="language.types.null.html" class="type NULL">NULL</a></span></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>$x = array();</em></td>
      <td><span class="type"><a href="language.types.array.html" class="type array">array</a></span></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>$x = false;</em></td>
      <td><span class="type"><a href="language.types.boolean.html" class="type boolean">boolean</a></span></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>$x = true;</em></td>
      <td><span class="type"><a href="language.types.boolean.html" class="type boolean">boolean</a></span></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
     </tr>

     <tr>
      <td><em>$x = 1;</em></td>
      <td><span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
     </tr>

     <tr>
      <td><em>$x = 42;</em></td>
      <td><span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
     </tr>

     <tr>
      <td><em>$x = 0;</em></td>
      <td><span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>$x = -1;</em></td>
      <td><span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
     </tr>

     <tr>
      <td><em>$x = &quot;1&quot;;</em></td>
      <td><span class="type"><a href="language.types.string.html" class="type string">string</a></span></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
     </tr>

     <tr>
      <td><em>$x = &quot;0&quot;;</em></td>
      <td><span class="type"><a href="language.types.string.html" class="type string">string</a></span></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>$x = &quot;-1&quot;;</em></td>
      <td><span class="type"><a href="language.types.string.html" class="type string">string</a></span></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
     </tr>

     <tr>
      <td><em>$x = &quot;php&quot;;</em></td>
      <td><span class="type"><a href="language.types.string.html" class="type string">string</a></span></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
     </tr>

     <tr>
      <td><em>$x = &quot;true&quot;;</em></td>
      <td><span class="type"><a href="language.types.string.html" class="type string">string</a></span></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
     </tr>

     <tr>
      <td><em>$x = &quot;false&quot;;</em></td>
      <td><span class="type"><a href="language.types.string.html" class="type string">string</a></span></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
     </tr>

    </tbody>
   
  </table>

 </p>

 <p class="para">
  <table id="types.comparisions-loose" class="doctable table">
   <caption><strong>松散比较 <em>==</em></strong></caption>
   
    <thead>
     <tr>
      <th> </th>
      <th><strong><code>TRUE</code></strong></th>
      <th><strong><code>FALSE</code></strong></th>
      <th><em>1</em></th>
      <th><em>0</em></th>
      <th><em>-1</em></th>
      <th><em>&quot;1&quot;</em></th>
      <th><em>&quot;0&quot;</em></th>
      <th><em>&quot;-1&quot;</em></th>
      <th><strong><code>NULL</code></strong></th>
      <th><em>array()</em></th>
      <th><em>&quot;php&quot;</em></th>
      <th><em>&quot;&quot;</em></th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
     </tr>

     <tr>
      <td><em>1</em></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>0</em></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
     </tr>

     <tr>
      <td><em>-1</em></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>&quot;1&quot;</em></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>&quot;0&quot;</em></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>&quot;-1&quot;</em></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><strong><code>NULL</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
     </tr>

     <tr>
      <td><em>array()</em></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>&quot;php&quot;</em></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>&quot;&quot;</em></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
     </tr>

    </tbody>
   
  </table>

 </p>

 <p class="para">
  <table id="type.comparisons-strict" class="doctable table">
   <caption><strong>严格比较 <em>===</em></strong></caption>
   
    <thead>
     <tr>
      <th> </th>
      <th><strong><code>TRUE</code></strong></th>
      <th><strong><code>FALSE</code></strong></th>
      <th><em>1</em></th>
      <th><em>0</em></th>
      <th><em>-1</em></th>
      <th><em>&quot;1&quot;</em></th>
      <th><em>&quot;0&quot;</em></th>
      <th><em>&quot;-1&quot;</em></th>
      <th><strong><code>NULL</code></strong></th>
      <th><em>array()</em></th>
      <th><em>&quot;php&quot;</em></th>
      <th><em>&quot;&quot;</em></th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>1</em></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>0</em></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>-1</em></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>&quot;1&quot;</em></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>&quot;0&quot;</em></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>&quot;-1&quot;</em></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><strong><code>NULL</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>array()</em></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>&quot;php&quot;</em></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
     </tr>

     <tr>
      <td><em>&quot;&quot;</em></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>FALSE</code></strong></td>
      <td><strong><code>TRUE</code></strong></td>
     </tr>

    </tbody>
   
  </table>

 </p>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="transports.unix.html">Unix 领域：Unix 和 UDG</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="tokens.html">解析器代号列表</a></div>
 <div class="up"><a href="appendices.html">附录</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
